<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题文档</title>
		<link href="../css/bgcss.css"
			rel="stylesheet" type="text/css" />
			<script src="<%=request.getContextPath()%>/js/Calendar1.js"
		type="text/javascript"></script>
	<script src="<%=request.getContextPath()%>/tools/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

			<script type="text/javascript">
			var cashRegister=new Array();
			<c:forEach items="${crsList}" var="item" varStatus="var">
				cashRegister[${var.count}]=new Array("${item.Maszy_CashRegister_Id}","${item.Maszy_DoorStore_Id}","${item.Maszy_CashRegister_NO}");
			</c:forEach>
			
			function changeCashRegister(id){
				document.form.cashRegister.length = 0; 
				document.form.cashRegister.options[0] = new Option('==全部==','');				
				     for (var i=1;i < cashRegister.length; i++){ 				    	
         				if (cashRegister[i][1] == id){                   
       					document.form.cashRegister.options[document.form.cashRegister.length] = new Option(cashRegister[i][2], cashRegister[i][0]);
             			}        
      				  }   
			}
			function OpenBlankWindow(url) {
    		window.open(url, "", 'height=' + screen.availHeight * 0.8 + ', width=' + screen.availWidth * 0.9 + ',top=' + screen.availHeight * 0.2 / 2 + ',left=' + screen.availWidth * 0.1 / 2 + ', toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=yes'); if (event) event.returnValue = false;
    			}
	</script>
	</head>

	<body>
		<jsp:include page="../frame/right_top.jsp" flush="true" />
		 <div id="right_font"><img src="<%=request.getContextPath()%>/images/bg/main_14.gif"/> 您现在所在的位置：首页 &gt;&gt; 车辆管理 &gt;&gt; 综合查询 </div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="30">
				
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
					<td>
					<form method="post" name="form" action="<%=request.getContextPath()%>/background/car?method=queryReport&Action_Id=906" target="frame_content">
						查询条件&nbsp;&nbsp;
					
						时间:
					从<input type="text" id="time1" name="time1" class="Wdate" size="10"	maxlength="10" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
					至<input type="text" id="time2" name="time2" class="Wdate" size="10"	maxlength="10" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
					<input type="submit"  value="查询" />
					<script>		
			document.getElementById('time1').value=new Date().getFullYear()+"-"+(new Date().getMonth()+1)+"-01";
			document.getElementById('time2').value=new Date().getFullYear()+"-"+(new Date().getMonth()+1)+"-"+new Date().getDate();
		</script>
					</form>
					</td>
					
					</tr>
					</table>
				<iframe name="frame_content" id="frame_content"  marginwidth=0  marginheight=0 src="#" frameborder=0   scrolling="no" width=778 height=0></iframe>


			

		</td>
			</tr>
		</table>
	</body>
</html>
